#include<iostream>
using namespace std;
int main()
{
	int arr1[] = {1,2,3,4,5};
	int arr2[] = {2,3,4,5,6};
	int arr3[] = {3,4,5,6,7};
	int* parr[3] = {arr1,arr2,arr3};
	for(int i = 0;i < 3;++i)
	{
		for(int j = 0;j < 5;++j)
		{
            //*(p+i)  ->    p[i]
            //所以还可以写成
            //cout<<parr[i][j]<<" ";
			cout<<*(parr[i] + j)<<" ";
		}
		cout<<endl;
	}
	return 0;
 } 

 //哈哈
 